CREATE TABLE [dbo].[AtomPanelWebsite]
(
[AtomPanelKey] [uniqueidentifier] NOT NULL,
[WebsiteKey] [uniqueidentifier] NOT NULL,
[WebUserControlPath] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[LastCompiledOn] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AtomPanelWebsite] ADD CONSTRAINT [PK_AtomPanelWebsite] PRIMARY KEY CLUSTERED ([AtomPanelKey], [WebsiteKey]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AtomPanelWebsite] ADD CONSTRAINT [FK_AtomPanelWebsite_AtomPanel] FOREIGN KEY ([AtomPanelKey]) REFERENCES [dbo].[AtomPanel] ([AtomPanelKey])
GO
ALTER TABLE [dbo].[AtomPanelWebsite] ADD CONSTRAINT [FK_AtomPanelWebsite_Website] FOREIGN KEY ([WebsiteKey]) REFERENCES [dbo].[Website] ([WebsiteKey])
GO